package com.ruoyi.sl.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.poi.hpsf.Decimal;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 车间月工资对象
 */
public class SlWsMonthPay extends BaseEntity {
    private static final long serialVersionUID = 1L;

    //员工
    private String userName;
    //昵称
    private String userNick;
    //日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date rworkDate;
    //职级
    private Long levelId;
    //计薪方式
    private Long ssmId;
    //是否正式工
    private String isFormalworker;
    //是否水产小时工
    private String isHourlyworker;
    //计件工资
    private BigDecimal rworkMonthPay;
    //计件出勤天数
    private BigDecimal rworkAttDay;
    //零工工资
    private BigDecimal oddjobMonthPay;
    //零工出勤天数
    private BigDecimal oddjobAttDay;
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNick() {
        return userNick;
    }

    public void setUserNick(String userNick) {
        this.userNick = userNick;
    }

    public Date getRworkDate() {
        return rworkDate;
    }

    public void setRworkDate(Date rworkDate) {
        this.rworkDate = rworkDate;
    }

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public Long getSsmId() {
        return ssmId;
    }

    public void setSsmId(Long ssmId) {
        this.ssmId = ssmId;
    }

    public String getIsFormalworker() {
        return isFormalworker;
    }

    public void setIsFormalworker(String isFormalworker) {
        this.isFormalworker = isFormalworker;
    }

    public String getIsHourlyworker() {
        return isHourlyworker;
    }

    public void setIsHourlyworker(String isHourlyworker) {
        this.isHourlyworker = isHourlyworker;
    }

    public BigDecimal getRworkMonthPay() {
        return rworkMonthPay;
    }

    public void setRworkMonthPay(BigDecimal rworkMonthPay) {
        this.rworkMonthPay = rworkMonthPay;
    }

    public BigDecimal getRworkAttDay() {
        return rworkAttDay;
    }

    public void setRworkAttDay(BigDecimal rworkAttDay) {
        this.rworkAttDay = rworkAttDay;
    }

    public BigDecimal getOddjobMonthPay() {
        return oddjobMonthPay;
    }

    public void setOddjobMonthPay(BigDecimal oddjobMonthPay) {
        this.oddjobMonthPay = oddjobMonthPay;
    }

    public BigDecimal getOddjobAttDay() {
        return oddjobAttDay;
    }

    public void setOddjobAttDay(BigDecimal oddjobAttDay) {
        this.oddjobAttDay = oddjobAttDay;
    }

    @Override
    public String toString() {
        return "SlWsMonthPay{" +
                "userName='" + userName + '\'' +
                ", userNick='" + userNick + '\'' +
                ", rworkDate=" + rworkDate +
                ", levelId=" + levelId +
                ", ssmId=" + ssmId +
                ", isFormalworker='" + isFormalworker + '\'' +
                ", isHourlyworker='" + isHourlyworker + '\'' +
                ", rworkMonthPay=" + rworkMonthPay +
                ", rworkAttDay=" + rworkAttDay +
                ", oddjobMonthPay=" + oddjobMonthPay +
                ", oddjobAttDay=" + oddjobAttDay +
                '}';
    }
}
